package com.kuaimacode.kframework.api.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * @author 12786 on 2019/4/1.
 * @version 1.0
 */
@Data
@ApiModel(value = "BindBankCardReq")
public class BindBankCardReq {

    @ApiModelProperty(value = "银行卡名称")
    @NotBlank(message = "银行卡名称不能为空")
    private String bankCardName;

    @ApiModelProperty(value = "银行卡号")
    @NotBlank(message = "银行卡号不能为空")
    private String bankCardNumber;


    @ApiModelProperty(value = "银行预留手机号")
    private String bankCardPhoneNumber;


    @ApiModelProperty(value = "银行卡类型0借记卡1信用卡")
    @NotBlank(message = "银行卡类型不能为空")
    private String bankCardType;


    @ApiModelProperty(value = "持卡人姓名")
    @NotBlank(message = "持卡人姓名")
    private String cardUserName;

    @ApiModelProperty(value = "短信验证码")
    @NotBlank(message = "短信验证码不能为空")
    private String smsCode;

    @ApiModelProperty(value = "银行卡id")
    @NotBlank(message = "银行卡id不能为空")
    private String bankCardId;
}
